package com.contain.collection.list;

import java.util.ArrayList;

public class ArrayList_01 {
    public static void main(String[] args) {
        ArrayList<Integer> arrayList = new ArrayList<>() ;
        arrayList.add(1);
        arrayList.add(2);
        System.out.println(arrayList.get(1));
        arrayList.remove(0);
        System.out.println(arrayList);
    }
}
